package manager{
	import view.components.LogWindow;
	
	public class LoggerManager{
		
		protected static var logWindow:LogWindow

		public static function init(value:LogWindow):void{
			logWindow = value;
		}
		
		public static function log(...args):void{
			var message:String = args.join("");
			logWindow.log(message);
		}
		
		public static function error(...args):void{
			var message:String = args.join("");
			logWindow.error(message);
		}
	}
}